﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Traceability.Register.ErrorCode.EnumCode;

namespace Traceability.Register.Domain
{
    /// <summary>
    /// 图片表
    /// </summary>
    [Table("Pictures")]
    public class Pictures
    {
        /// <summary>
        /// 图片编号
        /// </summary>
        [Key]
        public int PictureId {  get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string ImgerPath { get; set; } = string.Empty;
        /// <summary>
        /// 图片枚举
        /// </summary>
        public ImgerTypeEnum ImgerType {  get; set; }
        /// <summary>
        /// 溯源编号
        /// </summary>
        public int TraceabilityId {  get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete {  get; set; }
    }
}
